package com.ft.adbix.utils.data.gather.util;

import com.ft.adbix.utils.AdLogUtils;

public class ClassUtils {
    /**
     * 库是否依赖
     *
     * @param className
     * @return
     */
    public static boolean isLibraryCompile(String className) {
        boolean isCompile;
        try {
            Class.forName(className);
            isCompile = true;
        } catch (Exception e) {
            AdLogUtils.i("compile exception");
            e.printStackTrace();
            isCompile = false;
        }
        return isCompile;
    }

}
